Skip to content

Commit

Permalink
fixes linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
idazucchi committed Feb 27, 2024
1 parent 70b5b1d commit 1587e07
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/jsonBrowser/required_fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ Property name | Description | Type | Object reference? | User friendly name | Al
schema_type | The type of the metadata schema entity. | string | | | project |
project_core | Core project-level information. | object | [See core project_core](core.md#project-core) | Project core | |
funders | Funding source(s) supporting the project. | array | [See module funder](module.md#funder) | Funding source(s) | |
data_use_restriction | Information about the data use restrictions for the project. | object | [See module data_use_restriction_ontology](module.md#data-use-restriction-ontology) | Data access | |
### Specimen from organism
Property name | Description | Type | Object reference? | User friendly name | Allowed values | Example
--- | --- | --- | --- | --- | --- | ---
Expand Down
2 changes: 1 addition & 1 deletion docs/jsonBrowser/type.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ insdc_study_accessions | An International Nucleotide Sequence Database Collabora
biostudies_accessions | A BioStudies study accession. | array | no | | BioStudies accession | | S-EXMP1; S-HCAS33
funders | Funding source(s) supporting the project. | array | yes | [See module funder](module.md#funder) | Funding source(s) | |
estimated_cell_count | An estimated number of cells in this project | integer | no | | Estimated cell count | | 10000; 2100000
data_use_restriction | Information about the data use restrictions for the project. | object | no | [See module data_use_restriction_ontology](module.md#data-use-restriction-ontology) | Data access | |
data_use_restriction | Information about the data use restrictions for the project. | object | yes | [See module data_use_restriction_ontology](module.md#data-use-restriction-ontology) | Data access | |

## Specimen from organism
_Information about the specimen that was collected from the donor organism._
Expand Down
2 changes: 1 addition & 1 deletion json_schema/type/project/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"schema_type",
"project_core",
"funders",
"data_access"
"data_use_restriction"
],
"title": "Project",
"name": "project",
Expand Down
2 changes: 1 addition & 1 deletion src/schema_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

required_schema_fields = ['$schema', 'description', 'additionalProperties', 'title', 'name', 'type', 'properties']

allowed_schema_fields = ['$schema', 'description', 'additionalProperties', 'required', 'title', 'name', 'type', 'properties', 'definitions', 'dependencies']
allowed_schema_fields = ['$schema', 'description', 'additionalProperties', 'required', 'title', 'name', 'type', 'properties', 'definitions', 'dependencies','allOf']

# Properties

Expand Down

0 comments on commit 1587e07

Please sign in to comment.