Compare commits
No commits in common. "90fa6148a5e48ee6b95ddfe74eb3818dfef71528" and "b6e80063e62adc12ac8268e07d09fcc841c357cd" have entirely different histories.
90fa6148a5
...
b6e80063e6
4 changed files with 6 additions and 78 deletions
|
|
@ -5,7 +5,6 @@
|
||||||
"main": {
|
"main": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["id"],
|
"required": ["id"],
|
||||||
"key": "nsid",
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": { "type": "integer" }
|
"id": { "type": "integer" }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,50 +0,0 @@
|
||||||
{
|
|
||||||
"lexicon": 1,
|
|
||||||
"id": "me.woach.content.media",
|
|
||||||
"defs": {
|
|
||||||
"main": {
|
|
||||||
"type": "object",
|
|
||||||
"key": "nsid",
|
|
||||||
"required": [ "titles", "durationData", "lastUpdated" ],
|
|
||||||
"properties": {
|
|
||||||
"titles": {
|
|
||||||
"type": "array",
|
|
||||||
"minLength": 1,
|
|
||||||
"items": {
|
|
||||||
"type": "ref",
|
|
||||||
"ref": "me.woach.content.title"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"durationData": {
|
|
||||||
"type": "union",
|
|
||||||
"refs": [
|
|
||||||
"me.woach.content.media#television",
|
|
||||||
"me.woach.content.media#book"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"posterImage": {
|
|
||||||
"type": "blob",
|
|
||||||
"accept": ["image/png", "image/jpeg"],
|
|
||||||
"maxSize": 1000000
|
|
||||||
},
|
|
||||||
"lastUpdated": {
|
|
||||||
"type": "string",
|
|
||||||
"format": "datetime",
|
|
||||||
"description": "Client-declared timestamp for when this activity was last updated"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"television": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"episodes": { "type": "integer", "minimum": 0}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"book": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"chapters": { "type": "integer", "minimum": 0}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
{
|
|
||||||
"lexicon": 1,
|
|
||||||
"id": "me.woach.content.title",
|
|
||||||
"defs": {
|
|
||||||
"main": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"language": {
|
|
||||||
"type": "string",
|
|
||||||
"knownValues": [
|
|
||||||
"me.woach.content.title#romanization",
|
|
||||||
"me.woach.content.title#english",
|
|
||||||
"me.woach.content.title#native"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"value": { "type": "string", "minLength": 1 }
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"romanization": { "type": "token",
|
|
||||||
"description": "Romanization of the native title" },
|
|
||||||
"english": { "type": "token",
|
|
||||||
"description": "English translation or title" },
|
|
||||||
"native": { "type": "token",
|
|
||||||
"description": "Native title" }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -10,7 +10,12 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["content", "createdAt"],
|
"required": ["content", "createdAt"],
|
||||||
"properties": {
|
"properties": {
|
||||||
"content": { "type": "ref", "ref": "com.atproto.repo.strongRef" },
|
"content": {
|
||||||
|
"type": "union",
|
||||||
|
"refs": [
|
||||||
|
"me.woach.content.anilist"
|
||||||
|
]
|
||||||
|
},
|
||||||
"label": {
|
"label": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"maxGraphemes": 64,
|
"maxGraphemes": 64,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue