{"id":1007,"date":"2020-12-09T19:22:15","date_gmt":"2020-12-09T19:22:15","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=1007"},"modified":"2020-12-09T19:24:23","modified_gmt":"2020-12-09T19:24:23","slug":"form-for-checking-a-schema-submission","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/form-for-checking-a-schema-submission\/","title":{"rendered":"Form for checking a schema submission"},"content":{"rendered":"<p>The API call for checking a json schema submission before being accepted into the data models are already available <a href=\"https:\/\/smartdatamodels.org\/index.php\/data-models-contribution-api\/\">here<\/a>:<\/p>\n<p>Now it can be also used through a form like this one in this other <a href=\"https:\/\/smartdatamodels.org\/index.php\/data-models-contribution-api\/\">link<\/a>.<\/p>\n<p>Check it out below<\/p>\n\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f804-o1\" lang=\"en-US\" dir=\"ltr\" data-wpcf7-id=\"804\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/index.php\/wp-json\/wp\/v2\/posts\/1007#wpcf7-f804-o1\" method=\"post\" class=\"wpcf7-form init\" aria-label=\"Contact form\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"804\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.5\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"en_US\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f804-o1\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_group_fields\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_visible_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_repeaters\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_steps\" value=\"{}\" \/><input type=\"hidden\" name=\"_wpcf7cf_options\" value=\"{&quot;form_id&quot;:804,&quot;conditions&quot;:[],&quot;settings&quot;:{&quot;animation&quot;:&quot;yes&quot;,&quot;animation_intime&quot;:&quot;200&quot;,&quot;animation_outtime&quot;:&quot;200&quot;,&quot;conditions_ui&quot;:&quot;normal&quot;,&quot;notice_dismissed&quot;:&quot;true&quot;,&quot;notice_dismissed_rollback-cf7-5.9.4&quot;:true,&quot;notice_dismissed_rollback-cf7-5.9.5&quot;:true,&quot;notice_dismissed_rollback-cf7-6.1.4&quot;:true}}\" \/><input type=\"hidden\" name=\"redirect_nonce\" value=\"c6dc7f25dd\" \/><input type=\"hidden\" name=\"wpcf7cfpdf_hidden_name\" value=\"document-pdf\" \/><input type=\"hidden\" name=\"wpcf7cfpdf_hidden_reference\" value=\"78c326ae\" \/><input type=\"hidden\" name=\"wpcf7cfpdf_hidden_date\" value=\"04082026\" \/><input type=\"hidden\" name=\"_wpcf7_recaptcha_response\" value=\"\" \/>\n<\/fieldset>\n<style>\n.wpcf7-form {\n background-color: #ffffff;\n border: 3px solid #000000;\n box-shadow: 0px 9px 21px 6px rgba(0,0,0,0.5);\n padding: 2em;\n overflow: none !important;\n}\n.wpcf7-form .wpcf7-text,\n.wpcf7-form .wpcf7-textarea {\n background-color: transparent ;\n border-bottom: 1px solid #001;\n border-top: 1px solid transparent;\n border-left: 1px solid transparent;\n border-right: 1px solid transparent;\n margin-bottom: 40px;\n\toutline: none;\n\ttransition: 0.4s border;\n}\n\n.wpcf7-form .wpcf7-text:focus,\n.wpcf7-form .wpcf7-textarea:focus,\n.wpcf7-form .wpcf7-text:hover,\n.wpcf7-form .wpcf7-textarea:hover {\n\tborder: 1px dashed #001;\n}\n<\/style>\n<div class=\"divTable\" style=\"border: 0px solid #000;\">\n\t<div class=\"divTableBody\">\n\t\t<div class=\"divTableRow\">\n\t\t\t<div class=\"divTableCell\">\n\t\t\t\t<p>This form validates a submission of a data model and provides feedback in case is not compliant with the <a href=\"https:\/\/smartdatamodels.org\/index.php\/coding-data-models\/\" target = \"_blank\">guidelines<\/a> and the <a href =\"https:\/\/docs.google.com\/presentation\/d\/e\/2PACX-1vTs-Ng5dIAwkg91oTTUdt8ua7woBXhPnwavZ0FxgR8BsAI_Ek3C5q97Nd94HS8KhP-r_quD4H0fgyt3\/pub?start=false&loop=false&delayms=3000#slide=id.p1\" target = \"_blank\">contribution manual<\/a> and also whether the properties are already used in other data models\n\t\t\t\t<\/p>\n\t\t\t\t<p><label> URL (Url of the raw version of the schema)<\/label><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"schemaUrl\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"schemaUrl\" \/><\/span>\n\t\t\t\t<\/p>\n\t\t\t<\/div>\n\t\t\t<div class=\"divTableCell\">\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<div class=\"divTableRow\">\n\t\t\t<div class=\"divTableCell\">\n\t\t\t\t<p><label> MAIL (We use your mail for providing feedback on your submission).<\/label><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"mail\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"email\" name=\"mail\" \/><\/span>\n\t\t\t\t<\/p>\n\t\t\t<\/div>\n\t\t\t<div class=\"divTableCell\">\n\t\t\t\t<p>TESTS TO PERFORM<br \/>\n\t\t\t\t<input class=\"wpcf7-form-control wpcf7-hidden\" value=\"1\" type=\"hidden\" name=\"test\" \/><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"radio-tests\"><span class=\"wpcf7-form-control wpcf7-radio\"><span class=\"wpcf7-list-item first last\"><label><input type=\"radio\" name=\"radio-tests\" value=\"schema is properly documented\" checked=\"checked\" \/><span class=\"wpcf7-list-item-label\">schema is properly documented<\/span><\/label><\/span><\/span><\/span>\n\t\t\t\t<\/p>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<div class=\"divTableRow\">\n\t\t\t<div class=\"divTableCell\">\n\t\t\t\t<p>OUTPUT FORMAT\n\t\t\t\t<\/p>\n\t\t\t\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"yamlOutput\"><span class=\"wpcf7-form-control wpcf7-radio\"><span class=\"wpcf7-list-item first\"><label><input type=\"radio\" name=\"yamlOutput\" value=\"Json\" checked=\"checked\" \/><span class=\"wpcf7-list-item-label\">Json<\/span><\/label><\/span><span class=\"wpcf7-list-item last\"><label><input type=\"radio\" name=\"yamlOutput\" value=\"Yaml\" \/><span class=\"wpcf7-list-item-label\">Yaml<\/span><\/label><\/span><\/span><\/span>\n\t\t\t\t<\/p>\n\t\t\t<\/div>\n\t\t\t<div class=\"divTableCell\">\n\t\t\t\t<p>&nbsp;\n\t\t\t\t<\/p>\n\t\t\t<\/div>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n<p><span class=\"wpcf7-form-control-wrap wpgdprc\"><span class=\"wpcf7-form-control wpcf7-wpgdprc wpcf7-validates-as-required\"><span class=\"wpcf7-list-item\"><input type=\"checkbox\" name=\"wpgdprc\" value=\"1\" aria-required=\"true\" aria-invalid=\"false\" \/><span class=\"wpcf7-list-item-label\">By using this form you agree with the storage and handling of your data by this website.<\/span><\/span><\/span>    <\/span><br \/>\n<input class=\"wpcf7-form-control wpcf7-submit has-spinner\" type=\"submit\" value=\"Submit\" \/><br \/>\nAfter clicking it will appear a message confirming the submission\n<\/p>\n<p>It will take an instant to redirect to the reults\n<\/p><p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"_wpcf7_ak_\"><label>&#916;<textarea name=\"_wpcf7_ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"_wpcf7_ak_js\" value=\"83\"\/><script>document.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );<\/script><\/p><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The API call for checking a json schema submission before being accepted into the data models are already available here: Now it can be also used through a form like this one in this other link. Check it out below &nbsp; &nbsp; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/form-for-checking-a-schema-submission\/\">More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":1010,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[150],"tags":[],"class_list":["post-1007","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-contribution"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2020\/12\/contribution2.png","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1023,"url":"https:\/\/smartdatamodels.org\/index.php\/new-form-for-checking-the-validation-of-a-json-schema\/","url_meta":{"origin":1007,"position":0},"title":"New form for checking the validation of a json schema","author":"maestro","date":"10\/12\/2020","format":false,"excerpt":"Although the net is plenty of sites for validation of a payload against a json schema, below you have this service. Besides this post the form will be available in the validation payload link where it is explained how to validate through an API call (bottom part of the page,\u2026","rel":"","context":"In &quot;contribution&quot;","block_context":{"text":"contribution","link":"https:\/\/smartdatamodels.org\/index.php\/category\/contribution\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1779,"url":"https:\/\/smartdatamodels.org\/index.php\/script-for-checking-a-data-model-submission\/","url_meta":{"origin":1007,"position":1},"title":"Script for checking a data model submission","author":"maestro","date":"25\/02\/2021","format":false,"excerpt":"In the directory utils of the umbrella repository data-models there is a new python script that checks if a schema is properly documented and if the payload is correctly located and validates against the schema.","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7119,"url":"https:\/\/smartdatamodels.org\/index.php\/contributors-updated-the-service-for-checking-your-schema\/","url_meta":{"origin":1007,"position":2},"title":"Contributors: Updated the service for checking your schema","author":"maestro","date":"19\/09\/2022","format":false,"excerpt":"In order to create a new data model or to update an existing one, Check your schema before contributing it, to check the schema on the front page. The service has been updated to check not only the attributes of the payload but also the schema metadata (schema version, license,\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/favicon-300x300.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":3889,"url":"https:\/\/smartdatamodels.org\/index.php\/new-tool-for-simplified-creation-of-a-data-model\/","url_meta":{"origin":1007,"position":3},"title":"New tool for simplified creation of a data model","author":"maestro","date":"09\/03\/2022","format":false,"excerpt":"The creation of a data model requires two mandatory files, one example and a JSON schema containing the definitions and data types of the elements in the entity. However, the JSON schema creation could be somehow demanding. The new tool opens the door for people with only basic knowledge of\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":904,"url":"https:\/\/smartdatamodels.org\/index.php\/data-models-contribution-api\/","url_meta":{"origin":1007,"position":4},"title":"Data Models Contribution API","author":"maestro","date":"30\/11\/2020","format":false,"excerpt":"The schemas to be accepted in the Smart Data Model initiative need to include a description for every property. In order to review your data models before submission, it should pass this test. Call: https:\/\/smartdatamodels.org\/extra\/check_schema.php Parameters: (Mandatories) schemaUrl: The link to the RAW version of the schema (see example) mail:\u2026","rel":"","context":"In &quot;Smart Cities domain&quot;","block_context":{"text":"Smart Cities domain","link":"https:\/\/smartdatamodels.org\/index.php\/category\/smart-cities\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":913,"url":"https:\/\/smartdatamodels.org\/index.php\/updated-the-contribution-manual\/","url_meta":{"origin":1007,"position":5},"title":"updated the contribution manual","author":"maestro","date":"02\/12\/2020","format":false,"excerpt":"The contribution manual (link in the upper menu of main page) is updated due to the change in the approach for documenting the data models. Main changes: Properties' definitions are now included as an attribute in the json schema The specification is generated automatically based on the json schema Json\u2026","rel":"","context":"In &quot;Smart Cities domain&quot;","block_context":{"text":"Smart Cities domain","link":"https:\/\/smartdatamodels.org\/index.php\/category\/smart-cities\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/1007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/comments?post=1007"}],"version-history":[{"count":1,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/1007\/revisions"}],"predecessor-version":[{"id":1009,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/1007\/revisions\/1009"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media\/1010"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=1007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=1007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=1007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}