In the gallery_operation file, I believe that one of these duplicate priority properties can be removed. Since they define the same type.
-
|
"priority": { |
|
"type": "string", |
|
"title": "Priority", |
|
"description": "The priority identifier of this operation. This is used by downstream consumers to make decisions about optimization. The value 'standard' indicates an operation generated from a UI or live update. The value 'ingestion' indicates an operation generated by a migration script or background import.", |
|
"enum": [ "standard", "ingestion" ] |
|
}, |
|
|
|
"priority": { |
|
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.12/traits/trait_priority.json" |
|
}, |
-
|
{ |
|
"$schema": "http://json-schema.org/draft-04/schema#", |
|
"id": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.12/traits/trait_priority.json", |
|
"title": "Priority", |
|
"description": "The priority identifier of this operation. This is used by downstream consumers to make decisions about optimization. The value 'standard' indicates an operation generated from a UI or live update. The value 'ingestion' indicates an operation generated by a migration script or background import. Note that this represents a request for priority consideration from event-generating apps and downstream applications are not obligated to honor it.", |
|
"type": "string", |
|
"enum": [ "standard", "ingestion" ] |
|
} |
In the
gallery_operationfile, I believe that one of these duplicatepriorityproperties can be removed. Since they define the same type.ans-schema/src/main/resources/schema/ans/0.10.12/gallery_operation.json
Lines 41 to 50 in ae887fc
ans-schema/src/main/resources/schema/ans/0.10.12/traits/trait_priority.json
Lines 1 to 8 in ae887fc