Skip to content

Schema #3

@pathumego

Description

@pathumego

Following our discussion I am posting the simple YAML structure that I propose to use as a base.

---
# Comments
metadata:
	- map:
		- version:
		- description:
		- source:
		- authour:
		- copyright:
		- license:
		- script:
		- language:
	- encoding:
		- name:
		- source:
		- author:
	- font:
		- name:
		- source:
		- author:
mapping:
- combinations:
               ªè: "கெ"
		ªé: "ஙெ"
		ªê: "செ"
		ªë: "ஞெ"
- base:
		ã: "ஏ"
		ä: "ஐ"
		å: "ஒ"
		æ: "ஓ"
		è: "க"
- marks:
		§: "ு"
		ª: "ெ"
		«: "ே"
		¬: "ை"
---
  • Text should be processed in the order
  • [Combinations, base, marks] This classification dose not do much in the conversion process I think. However if this data is important we can classify. Either way mapping=mapping.combinations,mapping.base, mapping.marks
  • Many-to-one: Multiple visual representations of the same codepoint should be added as two values in the map.

Above parsed to JSON <with https://www.json2yaml.com/>

{
  "metadata": [
    {
      "map": [
        {
          "version": null
        },
        {
          "description": null
        },
        {
          "source": null
        },
        {
          "authour": null
        },
        {
          "copyright": null
        },
        {
          "license": null
        },
        {
          "script": null
        },
        {
          "language": null
        }
      ]
    },
    {
      "encoding": [
        {
          "name": null
        },
        {
          "source": null
        },
        {
          "author": null
        }
      ]
    },
    {
      "font": [
        {
          "name": null
        },
        {
          "source": null
        },
        {
          "author": null
        }
      ]
    }
  ],
  "mapping": [
    {
      "combinations": {
        "ªè": "கெ",
        "ªé": "ஙெ",
        "ªê": "செ",
        "ªë": "ஞெ"
      }
    },
    {
      "base": {
        "ã": "ஏ",
        "ä": "ஐ",
        "å": "ஒ",
        "æ": "ஓ",
        "è": "க"
      }
    },
    {
      "marks": {
        "§": "ு",
        "ª": "ெ",
        "«": "ே",
        "¬": "ை"
      }
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions