Add xsd scheme information

This commit is contained in:
tooomm 2025-12-21 12:12:09 +01:00 committed by GitHub
parent 73a90bdf38
commit aa3e801045
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,16 @@
@page card_database_schema_and_parsing Card Database Schema and Parsing
# Card Database Schemas
Cockatrice uses `XML files` to store information of available cards to be used in the app (`cards.xml`).
The token file follows the schema of the card database (`tokens.xml`), too.
Saved decks (`<deckname>.xml`) use a different schema.
- [XSD Schema for `Card Databases`](https://github.com/Cockatrice/Cockatrice/blob/master/doc/carddatabase_v4/cards.xsd) <kbd>v4</kbd>
- [XSD Schema for `Decks`](https://github.com/Cockatrice/Cockatrice/blob/master/doc/deck.xsd) <kbd>v1</kbd>
# Card Database Parsing
TODO