Skip to content

Commit

Permalink
Changed wording
Browse files Browse the repository at this point in the history
Changed wording to allow none IANA media types which are otherwise well defined
  • Loading branch information
Markus Wohlgemuth committed Nov 21, 2024
1 parent 6672f15 commit 1301bda
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion APIs/schemas/flow_audio_coded.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"properties": {
"media_type": {
"description": "Subclassification of the format using IANA assigned media types",
"description": "Subclassification of the format using IANA assigned media types, if available",
"type": "string",
"pattern": "^audio\\/[^\\s\\/]+$",
"not": {
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/flow_audio_raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"properties": {
"media_type": {
"description": "Subclassification of the format using IANA assigned media types",
"description": "Subclassification of the format using IANA assigned media types, if available",
"type": "string",
"anyOf": [
{
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/flow_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"format": "uri"
},
"media_type": {
"description": "Subclassification of the format using IANA assigned media types",
"description": "Subclassification of the format using IANA assigned media types, if available",
"type": "string",
"pattern": "^[^\\s\\/]+\\/[^\\s\\/]+$",
"not": {
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/flow_json_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"format": "uri"
},
"media_type": {
"description": "Subclassification of the format using IANA assigned media types",
"description": "Subclassification of the format using IANA assigned media types, if available",
"type": "string",
"enum": [
"application/json"
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/flow_mux.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"format": "uri"
},
"media_type": {
"description": "Subclassification of the format using IANA assigned media types",
"description": "Subclassification of the format using IANA assigned media types, if available",
"type": "string",
"anyOf": [
{
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/flow_sdianc_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"format": "uri"
},
"media_type": {
"description": "Subclassification of the format using IANA assigned media types",
"description": "Subclassification of the format using IANA assigned media types, if available",
"type": "string",
"enum": [
"video/smpte291"
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/flow_video_coded.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"properties": {
"media_type": {
"description": "Subclassification of the format using IANA assigned media types",
"description": "Subclassification of the format using IANA assigned media types, if available",
"type": "string",
"anyOf": [
{
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/flow_video_raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"properties": {
"media_type": {
"description": "Subclassification of the format using IANA assigned media types",
"description": "Subclassification of the format using IANA assigned media types, if available",
"type": "string",
"enum": [
"video/raw"
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/receiver_audio.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"type": "object",
"properties": {
"media_types": {
"description": "Subclassification of the formats accepted using IANA assigned media types",
"description": "Subclassification of the formats accepted using IANA assigned media types, if available",
"type": "array",
"minItems": 1,
"items": {
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/receiver_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"type": "object",
"properties": {
"media_types": {
"description": "Subclassification of the formats accepted using IANA assigned media types",
"description": "Subclassification of the formats accepted using IANA assigned media types, if available",
"type": "array",
"minItems": 1,
"items": {
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/receiver_mux.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"type": "object",
"properties": {
"media_types": {
"description": "Subclassification of the formats accepted using IANA assigned media types",
"description": "Subclassification of the formats accepted using IANA assigned media types, if available",
"type": "array",
"minItems": 1,
"items": {
Expand Down
2 changes: 1 addition & 1 deletion APIs/schemas/receiver_video.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"type": "object",
"properties": {
"media_types": {
"description": "Subclassification of the formats accepted using IANA assigned media types",
"description": "Subclassification of the formats accepted using IANA assigned media types, if available",
"type": "array",
"minItems": 1,
"items": {
Expand Down

0 comments on commit 1301bda

Please sign in to comment.