validate_schema.sh 1.78 KB
Newer Older
canterafonsj's avatar
canterafonsj committed
1
#!/bin/bash
canterafonsj's avatar
canterafonsj committed
2

André Costa's avatar
André Costa committed
3
ajv compile -s ./schema/Entity.json -r ./schema/common.json -r ./schema/geometry-schema.json
canterafonsj's avatar
canterafonsj committed
4

André Costa's avatar
André Costa committed
5
ajv compile -s ./schema/subscriptions/Subscription.json -r ./schema/common.json -r ./schema/geometry-schema.json
canterafonsj's avatar
canterafonsj committed
6

André Costa's avatar
André Costa committed
7
ajv compile -s ./schema/temporal/EntityTemporal.json -r ./schema/common.json -r ./schema/geometry-schema.json -r ./schema/Entity.json
canterafonsj's avatar
canterafonsj committed
8

André Costa's avatar
André Costa committed
9
ajv compile -s ./schema/registrations/ContextSourceRegistration.json -r ./schema/common.json -r ./schema/geometry-schema.json
canterafonsj's avatar
canterafonsj committed
10

André Costa's avatar
André Costa committed
11
ajv compile -s ./schema/subscriptions/Notification.json -r ./schema/common.json -r ./schema/geometry-schema.json -r ./schema/Entity.json
canterafonsj's avatar
canterafonsj committed
12

André Costa's avatar
André Costa committed
13
ajv compile -s ./schema/registrations/ContextSourceNotification.json -r ./schema/common.json -r ./schema/geometry-schema.json -r ./schema/registrations/ContextSourceRegistration.json
canterafonsj's avatar
canterafonsj committed
14

André Costa's avatar
André Costa committed
15
ajv compile -s ./schema/EntityList.json -r ./schema/common.json -r ./schema/geometry-schema.json -r ./schema/Entity.json
canterafonsj's avatar
canterafonsj committed
16

André Costa's avatar
André Costa committed
17
ajv compile -s ./schema/subscriptions/SubscriptionList.json -r ./schema/common.json -r ./schema/geometry-schema.json -r ./schema/subscriptions/Subscription.json
canterafonsj's avatar
canterafonsj committed
18

André Costa's avatar
André Costa committed
19
ajv compile -s ./schema/registrations/ContextSourceRegistrationList.json -r ./schema/common.json -r ./schema/geometry-schema.json -r ./schema/registrations/ContextSourceRegistration.json
canterafonsj's avatar
canterafonsj committed
20

André Costa's avatar
André Costa committed
21
ajv compile -s ./schema/temporal/EntityTemporalList.json -r ./schema/temporal/EntityTemporal.json -r ./schema/Entity.json -r ./schema/common.json -r ./schema/geometry-schema.json
22

André Costa's avatar
André Costa committed
23
ajv compile -s ./schema/BatchOperationResult.json -r ./schema/common.json
canterafonsj's avatar
canterafonsj committed
24

André Costa's avatar
André Costa committed
25
ajv compile -s ./schema/UpdateResult.json
canterafonsj's avatar
canterafonsj committed
26

André Costa's avatar
André Costa committed
27
ajv compile -s ./schema/Entity_keyValues.json -r ./schema/common.json -r ./schema/geometry-schema.json 
canterafonsj's avatar
canterafonsj committed
28

André Costa's avatar
André Costa committed
29
ajv compile -s ./schema/temporal/Entity_temporalValues.json -r ./schema/common.json -r ./schema/geometry-schema.json -r ./schema/Entity.json