Permalink
Browse files

Merge pull request #428 from vbatts/image-layout-schema

image-layout: some schema
  • Loading branch information...
2 parents e1694db + 694055e commit c88b4eb3927d851c5ce7e644948bf4af86092ac4 @stevvooe stevvooe committed on GitHub Jan 12, 2017
Showing with 81 additions and 50 deletions.
  1. +63 −50 schema/fs.go
  2. +18 −0 schema/image-layout-schema.json
View
@@ -207,12 +207,12 @@ var _escData = map[string]*_escFile{
size: 774,
modtime: 1479372487,
compressed: `
-H4sIAAAJbogA/5SRvW7rMAyFdz+F4WS8ju7QKWsfoEPHooMqUzEDWFRJZgiKvHv1EzcxEBTuEsSH/M4R
-ya+mbbsBxDFGRQrdvu1eIoRnCmoxALfpn8dD+xrBoUdnS9e/jG3FjTDZjIyqcW/MUSj0Vd0RH8zA1mv/
-/8lUbVM5HGZEEkMpzc1pUrDabXCyBzCu5FdSzxEySx9HcFq1yMmBFUFSJY+TNMdgFYYf4Q4VZQzVruie
-eLKaK0NCesUJulK71JbOnnQk/sVq2c1uRE2POzGsZUjWdl53cde9ZfDl8eClr+VdvsLGJAUD5mvJvMOF
-FxOpl797XbmF14iixOdHY1hme76tO+1mug9dHTtHXLlLM/+WN3QMnyfkcvK3B5e4bXo5ffp4by7NdwAA
-AP//XlvgsQYDAAA=
+H4sIAAAJbogA/5SRsW4DIQyG93sKRDL2QodOt+YBOnSsOlAwOUc6TI0zRFXevQJyTU6KquvCYP/f/2P7
+u1NKe8iOMQlS1IPSrwninqJYjMBqTzHgQb0lcBjQ2ap6Ktg2uxEmW5BRJA3GHDPFvlV3xAfj2Qbpn19M
+q20ah35G8mAMJYhuTssVa2qDkz2AcTW/kXJOUFj6PIKTVktMCVgQsh5UGUcp7RisgP8t3KFZGGOzq/VA
+PFkpHW8FesEJdO1dmkTbk4zEf1gt1exGFHByYljLUF6rvO7iTr1lCPXzEHLf2rtyhY3xEDBiuVaed7jw
+YiIJ+f9eV27hNWIW4vOjMSyzPd/WjQLTfejq2Dniyl26+a1/0AxfJ+R68vcHl7htejl9p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h4vsjSqOYUi8OYm8chsRlvh/NheGquqDgMFviCfpSDqBqqph+rcDM4ld3
+tQN3V1peLdwN3dGHani+2dRWl9++Ory4ZYYRvW2GmVaMr/pneNDYx982p20inwrs/r+rlcS375DqYyfJ
+RGtQfK6EBKUZZLUghPDbF3+4s4a6ShjUP1tJzfbS/zmpknUmqc8P03oip9smINgKvL828J1SyfNsef8w
+zVwWJGb66ADTsG1U7ZYy+TgrLPX21l8p6d5oW+cj28A80WuXQj3usP4D/3XewEbyFuCTED/qBHmiS6Sd
+VIdaVYLrMOJErbLLOK6smzSwyu+AGZ/ONHGpZwy5aU8VDjsVH6aPiZSNn5ZTG7AWmbZOS4dk/cQ0LUsP
+N79bwDL2B66kOB15FDnXl7iRiVylF0p3N+QCMs14Ul6e/xknpH1v7kRd0uJl+/V7ZVRdquBnzhQsrDeo
+VfOwZWpT3H45DszfbvA3AAD//0JyEpx5DAAA
+`,
+ },
+
+ "/image-layout-schema.json": {
+ local: "image-layout-schema.json",
+ size: 414,
+ modtime: 1480548955,
+ compressed: `
+H4sIAAAJbogA/2yPwUrEMBCG732KIXq0TQVPue5pQdiD4EU8xHa2zWKTOJkKi/TdJZlWD91TmD/z8c3/
+UwGoHlNHLrILXhlQp4j+EDxb55HgONkB4dlew8zw0o04WfWQqfskgwE1Mkej9SUFX0vaBBp0T/bMdfuk
+JbsTzvUbkozWIaLvNlkqmGxrl8X1ZxELydeImQ0fF+zWLFKISOwwKQO5TTZkUi5+RUpSS/72bb9lA8IZ
+eEQ4HY6wMxdusycm54f/HP08KQNv6wygHpu2adU6v5d3qQCWcjDh1+wI+z/k1rlV5pbqNwAA//8bwMuB
+ngEAAA==
`,
},
@@ -291,14 +304,14 @@ MrVJbn8cB+ZnN/gbAAD//0JyEpx5DAAA
size: 1139,
modtime: 1481704392,
compressed: `
-H4sIAAAJbogA/6RSO4/UMBDu8ytGvuu4xByiupbqCkTBiQZRmHiSzCl+YPtWrFb73/Ej3mx2KRBb5ou/
-18wcGgAm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nX8Jx1oy2OxJTZZOn8YT4cHxvLecNimH0q
+feS5PvDacunxX9DryV1jLaQq4q97imiXdah/HZ36e7mrb73Lazjv/gQAAP//o026600EAAA=
`,
},
@@ -0,0 +1,18 @@
+{
+ "description": "OpenContainer Image Layout Schema",
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "id": "https://opencontainers.org/schema/image-layout",
+ "type": "object",
+ "properties": {
+ "imageLayoutVersion": {
+ "description": "version of the OCI image-layout",
+ "type": "string",
+ "enum": [
+ "1.0.0"
+ ]
+ }
+ },
+ "required": [
+ "imageLayoutVersion"
+ ]
+}

0 comments on commit c88b4eb

Please sign in to comment.