Skip to content

Migrated expo-*.json to draft-07 - #5973

Open
Vessel9817 wants to merge 12 commits into
SchemaStore:masterfrom
Vessel9817:expo
Open

Vessel9817 wants to merge 12 commits into
SchemaStore:masterfrom
Vessel9817:expo

Conversation

@Vessel9817

Copy link
Copy Markdown
Contributor
  • Migrated from draft-04 to draft-07
  • Enabled strict validation

Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Extrapolated plugin usage from [plugin docs][docs]

[docs]: https://docs.expo.dev/config-plugins/plugins/

Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
@madskristensen

Copy link
Copy Markdown
Contributor

This has a merge conflict.

@hyperupcall hyperupcall left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Had a few comments.

},
"mimeType": {
"type": "string"
"anyOf": [

@hyperupcall hyperupcall Sep 9, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normally, i would suggest that the object by itself and within items be extracted into a definitions since they appear to the the same. But, since this schema is likely autogenerated, it is probably better to preserve it as-is like you did.

},
"platforms": {
"description": "Platforms that your project explicitly supports. If not specified, it defaults to `[\"ios\", \"android\"]`.",
"example": ["ios", "android", "web"],

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these examples be preserved?

},
{}
],
"minItems": 2,

@hyperupcall hyperupcall Sep 9, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here so the minItems and additionalItems come from somewhere? Unsure if this change is to be consistent with other Expo schemas, or its a unique change. Saw this transformation in a few other places too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants