-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_schema_validation_0_4.py: Test valid data
- Loading branch information
Ed (ODSC)
committed
Sep 22, 2024
1 parent
2510e99
commit 8ea718d
Showing
112 changed files
with
2,408 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"statementDate": "2021-09-11T16:15:08Z", | ||
"publicationDetails": { | ||
"publicationDate": "2021-09-11T00:00:00+00:00", | ||
"bodsVersion": "0.4", | ||
"license": "http://opendefinition.org/licenses/cc-zero", | ||
"publisher": { | ||
"name": "Irish Business Authority" | ||
} | ||
}, | ||
"recordId": "ent-93c75c87ab28f889", | ||
"recordType": "entity", | ||
"recordStatus": "updated", | ||
"declarationSubject": "ent-93c75c87ab28f889", | ||
"source": { | ||
"assertedBy": [ | ||
{ | ||
"name": "Mary Walsh" | ||
} | ||
] | ||
}, | ||
"recordDetails": { | ||
"isComponent": false, | ||
"entityType": { | ||
"type": "registeredEntity" | ||
}, | ||
"name": "Fermentcat Ltd", | ||
"jurisdiction": { | ||
"code": "IE", | ||
"name": "Ireland" | ||
}, | ||
"foundingDate": "2019-09-11", | ||
"publicListing": { | ||
"hasPublicListing": false | ||
}, | ||
"identifiers": [ | ||
{ | ||
"id": "434151", | ||
"scheme": "IE-BAU", | ||
"schemeName": "Irish Business Authority " | ||
} | ||
], | ||
"addresses": [ | ||
{ | ||
"type": "registered", | ||
"address": "53 Killard, Kilteragh, Dooradoyle, Co. Limerick ", | ||
"postCode": "V94 V3VT", | ||
"country": { | ||
"name": "Ireland", | ||
"code": "IE" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[ | ||
{ | ||
"statementId": "crxpru319949212398855320030147004728", | ||
"statementDate": "2019-01-20", | ||
"publicationDetails": { | ||
"publicationDate": "2019-01-31", | ||
"bodsVersion": "0.4", | ||
"license": "http://opendefinition.org/licenses/cc-zero", | ||
"publisher": { | ||
"name": "Company Register, Delaware" | ||
} | ||
}, | ||
"recordId": "01B68D7633", | ||
"recordType": "entity", | ||
"recordStatus": "new", | ||
"source": { | ||
"type": [ | ||
"selfDeclaration" | ||
], | ||
"assertedBy": [ | ||
{ | ||
"name": "Maria Esteves" | ||
} | ||
] | ||
}, | ||
"declaration": "bo-jtc-8755982746", | ||
"declarationSubject": "01B68D7633", | ||
"recordDetails": { | ||
"isComponent": false, | ||
"entityType": { | ||
"type": "registeredEntity" | ||
}, | ||
"name": "Tecido Ltd", | ||
"jurisdiction": { | ||
"name": "Delaware", | ||
"code": "US-DE" | ||
}, | ||
"foundingDate": "2002-03-09", | ||
"identifiers": [ | ||
{ | ||
"id": "758355", | ||
"schemeName": "Company Registry, Delaware. Company number" | ||
} | ||
] | ||
} | ||
} | ||
] |
20 changes: 20 additions & 0 deletions
20
tests/fixtures/0.4/valid-schema/entity_address_address.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"recordId": "ent-93c75c87ab28f889", | ||
"recordType": "entity", | ||
"declarationSubject": "ent-93c75c87ab28f889", | ||
"statementDate": "2017-11-18", | ||
"recordDetails": { | ||
"isComponent": false, | ||
"entityType": { | ||
"type": "registeredEntity" | ||
}, | ||
"addresses": [ | ||
{ | ||
"address": "53 Killard, Kilteragh, Dooradoyle, Co. Limerick " | ||
} | ||
] | ||
} | ||
} | ||
] |
26 changes: 26 additions & 0 deletions
26
tests/fixtures/0.4/valid-schema/entity_address_country.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"declarationSubject": "xyz", | ||
"statementDate": "2017-11-18", | ||
"recordId": "123", | ||
"recordType": "entity", | ||
"recordDetails": { | ||
"entityType": { | ||
"type": "registeredEntity" | ||
}, | ||
"isComponent": false, | ||
"addresses": [ | ||
{ | ||
"type": "registered", | ||
"address": "53 Killard, Kilteragh, Dooradoyle, Co. Limerick ", | ||
"postCode": "V94 V3VT", | ||
"country": { | ||
"name": "Ireland", | ||
"code": "IE" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] |
23 changes: 23 additions & 0 deletions
23
tests/fixtures/0.4/valid-schema/entity_address_country_2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"recordId": "ent-93c75c87ab28f889", | ||
"recordType": "entity", | ||
"declarationSubject": "ent-93c75c87ab28f889", | ||
"statementDate": "2017-11-18", | ||
"recordDetails": { | ||
"isComponent": false, | ||
"entityType": { | ||
"type": "registeredEntity" | ||
}, | ||
"addresses": [ | ||
{ | ||
"country": { | ||
"name": "Ireland", | ||
"code": "IE" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] |
25 changes: 25 additions & 0 deletions
25
tests/fixtures/0.4/valid-schema/entity_address_country_no_code.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"declarationSubject": "xyz", | ||
"statementDate": "2017-11-18", | ||
"recordId": "123", | ||
"recordType": "entity", | ||
"recordDetails": { | ||
"entityType": { | ||
"type": "registeredEntity" | ||
}, | ||
"isComponent": false, | ||
"addresses": [ | ||
{ | ||
"type": "registered", | ||
"address": "53 Killard, Kilteragh, Dooradoyle, Co. Limerick ", | ||
"postCode": "V94 V3VT", | ||
"country": { | ||
"name": "Ireland" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] |
20 changes: 20 additions & 0 deletions
20
tests/fixtures/0.4/valid-schema/entity_address_postcode.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"recordId": "ent-93c75c87ab28f889", | ||
"recordType": "entity", | ||
"declarationSubject": "ent-93c75c87ab28f889", | ||
"statementDate": "2017-11-18", | ||
"recordDetails": { | ||
"isComponent": false, | ||
"entityType": { | ||
"type": "registeredEntity" | ||
}, | ||
"addresses": [ | ||
{ | ||
"postCode": "V94 V3VT" | ||
} | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"recordId": "ent-93c75c87ab28f889", | ||
"recordType": "entity", | ||
"declarationSubject": "ent-93c75c87ab28f889", | ||
"statementDate": "2017-11-18", | ||
"recordDetails": { | ||
"isComponent": false, | ||
"entityType": { | ||
"type": "registeredEntity" | ||
}, | ||
"addresses": [ | ||
{ | ||
"type": "registered" | ||
} | ||
] | ||
} | ||
} | ||
] |
25 changes: 25 additions & 0 deletions
25
tests/fixtures/0.4/valid-schema/entity_addresses_type.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"declarationSubject": "xyz", | ||
"statementDate": "2017-11-18", | ||
"recordId": "123", | ||
"recordType": "entity", | ||
"recordDetails": { | ||
"entityType": { | ||
"type": "registeredEntity" | ||
}, | ||
"isComponent": false, | ||
"addresses": [ | ||
{ | ||
"type": "business", | ||
"address": "23 Regent St, London", | ||
"country": { | ||
"name": "United Kingdom", | ||
"code": "GB" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] |
18 changes: 18 additions & 0 deletions
18
tests/fixtures/0.4/valid-schema/entity_alternate_names.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"recordId": "ent-93c75c87ab28f889", | ||
"recordType": "entity", | ||
"declarationSubject": "ent-93c75c87ab28f889", | ||
"statementDate": "2017-11-18", | ||
"recordDetails": { | ||
"isComponent": false, | ||
"entityType": { | ||
"type": "registeredEntity" | ||
}, | ||
"alternateNames": [ | ||
"Fermentcat Ltd" | ||
] | ||
} | ||
} | ||
] |
16 changes: 16 additions & 0 deletions
16
tests/fixtures/0.4/valid-schema/entity_dissolution_date.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"recordId": "ent-93c75c87ab28f889", | ||
"recordType": "entity", | ||
"declarationSubject": "ent-93c75c87ab28f889", | ||
"statementDate": "2017-11-18", | ||
"recordDetails": { | ||
"isComponent": false, | ||
"entityType": { | ||
"type": "registeredEntity" | ||
}, | ||
"dissolutionDate": "2019-09-11" | ||
} | ||
} | ||
] |
17 changes: 17 additions & 0 deletions
17
tests/fixtures/0.4/valid-schema/entity_formed_by_statute.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"recordId": "ent-93c75c87ab28f889", | ||
"recordType": "entity", | ||
"declarationSubject": "ent-93c75c87ab28f889", | ||
"statementDate": "2017-11-18", | ||
"recordDetails": { | ||
"isComponent": false, | ||
"entityType": { | ||
"type": "stateBody" | ||
}, | ||
"formedByStatute": { | ||
} | ||
} | ||
} | ||
] |
18 changes: 18 additions & 0 deletions
18
tests/fixtures/0.4/valid-schema/entity_formed_by_statute_date.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"recordId": "ent-93c75c87ab28f889", | ||
"recordType": "entity", | ||
"declarationSubject": "ent-93c75c87ab28f889", | ||
"statementDate": "2017-11-18", | ||
"recordDetails": { | ||
"isComponent": false, | ||
"entityType": { | ||
"type": "stateBody" | ||
}, | ||
"formedByStatute": { | ||
"date": "2019-03-04" | ||
} | ||
} | ||
} | ||
] |
18 changes: 18 additions & 0 deletions
18
tests/fixtures/0.4/valid-schema/entity_formed_by_statute_name.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"recordId": "ent-93c75c87ab28f889", | ||
"recordType": "entity", | ||
"declarationSubject": "ent-93c75c87ab28f889", | ||
"statementDate": "2017-11-18", | ||
"recordDetails": { | ||
"isComponent": false, | ||
"entityType": { | ||
"type": "stateBody" | ||
}, | ||
"formedByStatute": { | ||
"name": "statute 123" | ||
} | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"statementId": "2f7bf9370f1254068e5e946df067d07d", | ||
"recordId": "ent-93c75c87ab28f889", | ||
"recordType": "entity", | ||
"declarationSubject": "ent-93c75c87ab28f889", | ||
"statementDate": "2017-11-18", | ||
"recordDetails": { | ||
"isComponent": false, | ||
"entityType": { | ||
"type": "registeredEntity" | ||
}, | ||
"foundingDate": "2019-09-11" | ||
} | ||
} | ||
] |
Oops, something went wrong.