Skip to content

Commit

Permalink
Align new Metadata feature with 2021-03-01-preview (#16304)
Browse files Browse the repository at this point in the history
Co-authored-by: Anat Gilenson <[email protected]>
  • Loading branch information
anat-gilenson and Anat Gilenson authored Oct 15, 2021
1 parent 1e66588 commit 5d662e3
Show file tree
Hide file tree
Showing 3 changed files with 148 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,58 @@
}
}
},
"metadataCategories": {
"type": "object",
"description": "ies for the solution content item",
"properties": {
"domains": {
"description": "domain for the solution content item",
"type": "array",
"example": [
"str1",
"str2",
"str3"
],
"items": {
"type": "string"
}
},
"verticals": {
"description": "Industry verticals for the solution content item",
"type": "array",
"items": {
"type": "string"
},
"example": [
"str1",
"str2",
"str3"
]
}
}
},
"metadataProviders": {
"description": "Providers for the solution content item",
"type": "array",
"example": [
"str1",
"str2",
"str3"
],
"items": {
"type": "string"
}
},
"firstPublishDate": {
"description": "first publish date of solution content item",
"type": "string",
"format": "date"
},
"lastPublishDate": {
"description": "last publish date of solution content item",
"type": "string",
"format": "date"
},
"metadataProperties": {
"description": "Metadata property bag.",
"required": [
Expand Down Expand Up @@ -630,6 +682,22 @@
"dependencies": {
"$ref": "#/definitions/metadataDependencies",
"description": "Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats."
},
"categories": {
"$ref": "#/definitions/metadataCategories",
"description": "Categories for the solution content item"
},
"providers": {
"$ref": "#/definitions/metadataProviders",
"description": "Providers for the solution content item"
},
"firstPublishDate": {
"$ref": "#/definitions/firstPublishDate",
"description": "first publish date solution content item"
},
"lastPublishDate": {
"$ref": "#/definitions/lastPublishDate",
"description": "last publish date for the solution content item"
}
}
},
Expand Down Expand Up @@ -668,6 +736,22 @@
"dependencies": {
"$ref": "#/definitions/metadataDependencies",
"description": "Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats."
},
"categories": {
"$ref": "#/definitions/metadataCategories",
"description": "Categories for the solution content item"
},
"providers": {
"$ref": "#/definitions/metadataProviders",
"description": "Providers for the solution content item"
},
"firstPublishDate": {
"$ref": "#/definitions/firstPublishDate",
"description": "first publish date solution content item"
},
"lastPublishDate": {
"$ref": "#/definitions/lastPublishDate",
"description": "last publish date for the solution content item"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,22 @@
"contentId": "21ba424a-9438-4444-953a-7059539a7a1b"
}
]
}
},
"categories": {
"domains": [
"Application",
"Security – Insider Threat"
],
"verticals": [
"Healthcare"
]
},
"providers": [
"Amazon",
"Microsoft"
],
"firstPublishDate": "2021-05-18",
"lastPublishDate": "2021-05-18"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,22 @@
"contentId": "21ba424a-9438-4444-953a-7059539a7a1b"
}
]
}
},
"categories": {
"domains": [
"Application",
"Security – Insider Threat"
],
"verticals": [
"Healthcare"
]
},
"providers": [
"Amazon",
"Microsoft"
],
"firstPublishDate": "2021-05-18",
"lastPublishDate": "2021-05-18"
}
}
},
Expand Down Expand Up @@ -120,7 +135,22 @@
"contentId": "21ba424a-9438-4444-953a-7059539a7a1b"
}
]
}
},
"categories": {
"domains": [
"Application",
"Security – Insider Threat"
],
"verticals": [
"Healthcare"
]
},
"providers": [
"Amazon",
"Microsoft"
],
"firstPublishDate": "2021-05-18",
"lastPublishDate": "2021-05-18"
}
}
},
Expand Down Expand Up @@ -180,7 +210,22 @@
"contentId": "21ba424a-9438-4444-953a-7059539a7a1b"
}
]
}
},
"categories": {
"domains": [
"Application",
"Security – Insider Threat"
],
"verticals": [
"Healthcare"
]
},
"providers": [
"Amazon",
"Microsoft"
],
"firstPublishDate": "2021-05-18",
"lastPublishDate": "2021-05-18"
}
}
}
Expand Down

0 comments on commit 5d662e3

Please sign in to comment.