diff --git a/Development/cmake/NmosCppLibraries.cmake b/Development/cmake/NmosCppLibraries.cmake index af1c3cc9..12ce63b2 100644 --- a/Development/cmake/NmosCppLibraries.cmake +++ b/Development/cmake/NmosCppLibraries.cmake @@ -844,6 +844,11 @@ set(NMOS_IS14_V1_0_TAG v1.0.x) set(NMOS_IS14_V1_0_SCHEMAS_JSON third_party/is-14/${NMOS_IS14_V1_0_TAG}/APIs/schemas/base.json + third_party/is-14/${NMOS_IS14_V1_0_TAG}/APIs/schemas/bulkProperties-get-response.json + third_party/is-14/${NMOS_IS14_V1_0_TAG}/APIs/schemas/bulkProperties-set-request.json + third_party/is-14/${NMOS_IS14_V1_0_TAG}/APIs/schemas/bulkProperties-set-response.json + third_party/is-14/${NMOS_IS14_V1_0_TAG}/APIs/schemas/bulkProperties-validate-request.json + third_party/is-14/${NMOS_IS14_V1_0_TAG}/APIs/schemas/bulkProperties-validate-response.json third_party/is-14/${NMOS_IS14_V1_0_TAG}/APIs/schemas/descriptor-get.json third_party/is-14/${NMOS_IS14_V1_0_TAG}/APIs/schemas/method-patch-request.json third_party/is-14/${NMOS_IS14_V1_0_TAG}/APIs/schemas/method-patch-response.json diff --git a/Development/nmos/is14_schemas/is14_schemas.h b/Development/nmos/is14_schemas/is14_schemas.h index 95214691..2c4e5f12 100644 --- a/Development/nmos/is14_schemas/is14_schemas.h +++ b/Development/nmos/is14_schemas/is14_schemas.h @@ -10,6 +10,11 @@ namespace nmos namespace v1_0_x { extern const char* base; + extern const char* bulkProperties_get_response; + extern const char* bulkProperties_set_request; + extern const char* bulkProperties_set_response; + extern const char* bulkProperties_validate_request; + extern const char* bulkProperties_validate_response; extern const char* descriptor_get; extern const char* method_patch_request; extern const char* method_patch_response; diff --git a/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-get-response.json b/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-get-response.json new file mode 100644 index 00000000..9ddc05ea --- /dev/null +++ b/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-get-response.json @@ -0,0 +1,6 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "description": "Returns a NcMethodResultBulkValuesHolder from a bulkProperties GET", + "title": "NcMethodResultBulkValuesHolder" +} diff --git a/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-set-request.json b/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-set-request.json new file mode 100644 index 00000000..04c69a0e --- /dev/null +++ b/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-set-request.json @@ -0,0 +1,15 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "description": "PUT request body for invoking SetPropertiesByPaths method on NcBulkPropertiesManager", + "title": "SetPropertiesByPaths", + "required": [ + "arguments" + ], + "properties": { + "arguments": { + "type": "object", + "description": "Method arguments. Arguments are specified as nested properties inside this object and their types are dictated by the specific MS-05-02 model for the method targeted. Arguments only need to be included for methods which have arguments and MUST be omitted if the method does not require any arguments." + } + } +} diff --git a/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-set-response.json b/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-set-response.json new file mode 100644 index 00000000..6b5885c0 --- /dev/null +++ b/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-set-response.json @@ -0,0 +1,6 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "description": "Returns a NcMethodResultObjectPropertiesSetValidation from a bulkProperties PUT", + "title": "NcMethodResultObjectPropertiesSetValidation" +} diff --git a/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-validate-request.json b/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-validate-request.json new file mode 100644 index 00000000..a645997f --- /dev/null +++ b/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-validate-request.json @@ -0,0 +1,15 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "description": "PATCH request body for validating NcBulkValuesHolder object.", + "title": "ValidateSetPropertiesByPaths", + "required": [ + "arguments" + ], + "properties": { + "arguments": { + "type": "object", + "description": "Method arguments. Arguments are specified as nested properties inside this object and their types are dictated by the specific MS-05-02 model for the method targeted. Arguments only need to be included for methods which have arguments and MUST be omitted if the method does not require any arguments." + } + } +} diff --git a/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-validate-response.json b/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-validate-response.json new file mode 100644 index 00000000..0a077c2f --- /dev/null +++ b/Development/third_party/is-14/v1.0.x/APIs/schemas/bulkProperties-validate-response.json @@ -0,0 +1,6 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "description": "Returns a NcMethodResultObjectPropertiesSetValidation from a bulkProperties OPTIONS", + "title": "NcMethodResultObjectPropertiesSetValidation" +} diff --git a/Development/third_party/is-14/v1.0.x/APIs/schemas/property.json b/Development/third_party/is-14/v1.0.x/APIs/schemas/property.json index 42cc45d0..0a53e510 100644 --- a/Development/third_party/is-14/v1.0.x/APIs/schemas/property.json +++ b/Development/third_party/is-14/v1.0.x/APIs/schemas/property.json @@ -6,8 +6,8 @@ "items": { "type": "string", "enum": [ - "value/", - "descriptor/" + "descriptor/", + "value/" ] }, "minItems": 2, diff --git a/Development/third_party/is-14/v1.0.x/APIs/schemas/rolePath.json b/Development/third_party/is-14/v1.0.x/APIs/schemas/rolePath.json index 976cff6d..0cafe9c2 100644 --- a/Development/third_party/is-14/v1.0.x/APIs/schemas/rolePath.json +++ b/Development/third_party/is-14/v1.0.x/APIs/schemas/rolePath.json @@ -6,12 +6,13 @@ "items": { "type": "string", "enum": [ - "properties/", + "bulkProperties", + "descriptors/", "methods/", - "descriptors/" + "properties/" ] }, - "minItems": 3, - "maxItems": 3, + "minItems": 4, + "maxItems": 4, "uniqueItems": true }