Skip to content

Commit

Permalink
fix: moar renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarenaldi committed Nov 1, 2024
1 parent cd65330 commit 92cb9b1
Show file tree
Hide file tree
Showing 44 changed files with 350 additions and 419 deletions.
28 changes: 14 additions & 14 deletions jsonschemas/posts/3d/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The App Id that this publication belongs to."
"description": "The App Id that this post belongs to."
},
"hideFromFeed": {
"type": "boolean",
"description": "Determine if the publication should not be shown in any feed."
"description": "Determine if the post should not be shown in any feed."
},
"attributes": {
"type": "array",
Expand Down Expand Up @@ -172,7 +172,7 @@
"anyOf": [
{
"$ref": "#/$defs/NonEmptyString",
"description": "The content for the publication as markdown."
"description": "The content for the post as markdown."
},
{
"$ref": "#/$defs/EncryptedString"
Expand Down Expand Up @@ -473,7 +473,7 @@
"const": "COLLECT"
},
"publicationId": {
"$ref": "#/$defs/PublicationId"
"$ref": "#/$defs/LegacyPublicationId"
},
"thisPublication": {
"type": "boolean",
Expand Down Expand Up @@ -573,7 +573,7 @@
"const": "FOLLOW"
},
"follow": {
"$ref": "#/$defs/ProfileId"
"$ref": "#/$defs/LegacyProfileId"
}
},
"required": [
Expand All @@ -587,6 +587,14 @@
"pattern": "^geo:(-?\\d+\\.?\\d*),(-?\\d+\\.?\\d*)$",
"description": "A Geographic coordinate as subset of Geo URI (RFC 5870). Currently only supports the `geo:lat,lng` format."
},
"LegacyProfileId": {
"type": "string",
"minLength": 4
},
"LegacyPublicationId": {
"type": "string",
"minLength": 9
},
"MarketplaceMetadataAttribute": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1036,10 +1044,6 @@
],
"additionalProperties": false
},
"ProfileId": {
"type": "string",
"minLength": 4
},
"ProfileOwnershipCondition": {
"type": "object",
"properties": {
Expand All @@ -1048,7 +1052,7 @@
"const": "PROFILE_OWNERSHIP"
},
"profileId": {
"$ref": "#/$defs/ProfileId"
"$ref": "#/$defs/LegacyProfileId"
}
},
"required": [
Expand Down Expand Up @@ -1095,10 +1099,6 @@
}
]
},
"PublicationId": {
"type": "string",
"minLength": 9
},
"Tag": {
"type": "string",
"minLength": 1,
Expand Down
28 changes: 14 additions & 14 deletions jsonschemas/posts/article/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The App Id that this publication belongs to."
"description": "The App Id that this post belongs to."
},
"hideFromFeed": {
"type": "boolean",
"description": "Determine if the publication should not be shown in any feed."
"description": "Determine if the post should not be shown in any feed."
},
"attributes": {
"type": "array",
Expand Down Expand Up @@ -130,7 +130,7 @@
"anyOf": [
{
"$ref": "#/$defs/NonEmptyString",
"description": "The content for the publication as markdown."
"description": "The content for the post as markdown."
},
{
"$ref": "#/$defs/EncryptedString"
Expand Down Expand Up @@ -435,7 +435,7 @@
"const": "COLLECT"
},
"publicationId": {
"$ref": "#/$defs/PublicationId"
"$ref": "#/$defs/LegacyPublicationId"
},
"thisPublication": {
"type": "boolean",
Expand Down Expand Up @@ -535,7 +535,7 @@
"const": "FOLLOW"
},
"follow": {
"$ref": "#/$defs/ProfileId"
"$ref": "#/$defs/LegacyProfileId"
}
},
"required": [
Expand All @@ -549,6 +549,14 @@
"pattern": "^geo:(-?\\d+\\.?\\d*),(-?\\d+\\.?\\d*)$",
"description": "A Geographic coordinate as subset of Geo URI (RFC 5870). Currently only supports the `geo:lat,lng` format."
},
"LegacyProfileId": {
"type": "string",
"minLength": 4
},
"LegacyPublicationId": {
"type": "string",
"minLength": 9
},
"MarketplaceMetadataAttribute": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -998,10 +1006,6 @@
],
"additionalProperties": false
},
"ProfileId": {
"type": "string",
"minLength": 4
},
"ProfileOwnershipCondition": {
"type": "object",
"properties": {
Expand All @@ -1010,7 +1014,7 @@
"const": "PROFILE_OWNERSHIP"
},
"profileId": {
"$ref": "#/$defs/ProfileId"
"$ref": "#/$defs/LegacyProfileId"
}
},
"required": [
Expand Down Expand Up @@ -1057,10 +1061,6 @@
}
]
},
"PublicationId": {
"type": "string",
"minLength": 9
},
"Tag": {
"type": "string",
"minLength": 1,
Expand Down
28 changes: 14 additions & 14 deletions jsonschemas/posts/audio/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The App Id that this publication belongs to."
"description": "The App Id that this post belongs to."
},
"hideFromFeed": {
"type": "boolean",
"description": "Determine if the publication should not be shown in any feed."
"description": "Determine if the post should not be shown in any feed."
},
"attributes": {
"type": "array",
Expand Down Expand Up @@ -137,7 +137,7 @@
"anyOf": [
{
"$ref": "#/$defs/NonEmptyString",
"description": "The content for the publication as markdown."
"description": "The content for the post as markdown."
},
{
"$ref": "#/$defs/EncryptedString"
Expand Down Expand Up @@ -438,7 +438,7 @@
"const": "COLLECT"
},
"publicationId": {
"$ref": "#/$defs/PublicationId"
"$ref": "#/$defs/LegacyPublicationId"
},
"thisPublication": {
"type": "boolean",
Expand Down Expand Up @@ -538,7 +538,7 @@
"const": "FOLLOW"
},
"follow": {
"$ref": "#/$defs/ProfileId"
"$ref": "#/$defs/LegacyProfileId"
}
},
"required": [
Expand All @@ -552,6 +552,14 @@
"pattern": "^geo:(-?\\d+\\.?\\d*),(-?\\d+\\.?\\d*)$",
"description": "A Geographic coordinate as subset of Geo URI (RFC 5870). Currently only supports the `geo:lat,lng` format."
},
"LegacyProfileId": {
"type": "string",
"minLength": 4
},
"LegacyPublicationId": {
"type": "string",
"minLength": 9
},
"MarketplaceMetadataAttribute": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1001,10 +1009,6 @@
],
"additionalProperties": false
},
"ProfileId": {
"type": "string",
"minLength": 4
},
"ProfileOwnershipCondition": {
"type": "object",
"properties": {
Expand All @@ -1013,7 +1017,7 @@
"const": "PROFILE_OWNERSHIP"
},
"profileId": {
"$ref": "#/$defs/ProfileId"
"$ref": "#/$defs/LegacyProfileId"
}
},
"required": [
Expand Down Expand Up @@ -1060,10 +1064,6 @@
}
]
},
"PublicationId": {
"type": "string",
"minLength": 9
},
"Tag": {
"type": "string",
"minLength": 1,
Expand Down
28 changes: 14 additions & 14 deletions jsonschemas/posts/checking-in/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The App Id that this publication belongs to."
"description": "The App Id that this post belongs to."
},
"hideFromFeed": {
"type": "boolean",
"description": "Determine if the publication should not be shown in any feed."
"description": "Determine if the post should not be shown in any feed."
},
"attributes": {
"type": "array",
Expand Down Expand Up @@ -149,7 +149,7 @@
"anyOf": [
{
"$ref": "#/$defs/NonEmptyString",
"description": "The content for the publication as markdown."
"description": "The content for the post as markdown."
},
{
"$ref": "#/$defs/EncryptedString"
Expand Down Expand Up @@ -450,7 +450,7 @@
"const": "COLLECT"
},
"publicationId": {
"$ref": "#/$defs/PublicationId"
"$ref": "#/$defs/LegacyPublicationId"
},
"thisPublication": {
"type": "boolean",
Expand Down Expand Up @@ -550,7 +550,7 @@
"const": "FOLLOW"
},
"follow": {
"$ref": "#/$defs/ProfileId"
"$ref": "#/$defs/LegacyProfileId"
}
},
"required": [
Expand All @@ -564,6 +564,14 @@
"pattern": "^geo:(-?\\d+\\.?\\d*),(-?\\d+\\.?\\d*)$",
"description": "A Geographic coordinate as subset of Geo URI (RFC 5870). Currently only supports the `geo:lat,lng` format."
},
"LegacyProfileId": {
"type": "string",
"minLength": 4
},
"LegacyPublicationId": {
"type": "string",
"minLength": 9
},
"MarketplaceMetadataAttribute": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1013,10 +1021,6 @@
],
"additionalProperties": false
},
"ProfileId": {
"type": "string",
"minLength": 4
},
"ProfileOwnershipCondition": {
"type": "object",
"properties": {
Expand All @@ -1025,7 +1029,7 @@
"const": "PROFILE_OWNERSHIP"
},
"profileId": {
"$ref": "#/$defs/ProfileId"
"$ref": "#/$defs/LegacyProfileId"
}
},
"required": [
Expand Down Expand Up @@ -1072,10 +1076,6 @@
}
]
},
"PublicationId": {
"type": "string",
"minLength": 9
},
"Tag": {
"type": "string",
"minLength": 1,
Expand Down
Loading

0 comments on commit 92cb9b1

Please sign in to comment.