{
"info": {
"author": "Gordon So",
"author_email": "gordonkwso@gmail.com",
"bugtrack_url": null,
"classifiers": [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3"
],
"description": ".. image:: https://raw.githubusercontent.com/GordonSo/scimschema/master/scimschema-logo.png\n :target: https://github.com/GordonSo/scimschema\n :align: center\n :alt: scimschema-logo\n\n------\n\nScimSchema\n==========\n.. image:: https://travis-ci.org/GordonSo/scimschema.svg?branch=master\n :target: https://travis-ci.org/GordonSo/scimschema\n\nValidate JSon content given a predefined set of SCIM Schemas (in JSON representation format) as specified in `SCIM `_ (supporting Python 3+).\n\nExample use case\n----------------\n\nCheck out this `test_scim_schema.py <_test_scim_schema.py: https://github.com/GordonSo/scimschema/blob/master/tests/test_scim_schema.py>`_.\n\n.. code-block:: python\n\n from scimschema import validate\n from . import extension\n\n # A sample schema, like what we'd get from response.get().json()\n content = {\n \"schemas\": [\"urn:ietf:params:scim:schemas:core2:2.0:Group\", \"urn:huddle:params:scim:schemas:extension:2.0:SimpleAccount\"],\n \"id\": \"2819c223-7f76-453a-919d-413861904646\",\n \"externalId\": 9,\n \"meta\": {\n \"resourceType\": \"User\",\n \"created\": \"2011-08-01T18:29:49.793Z\",\n \"lastModified\": \"Invalid date\",\n \"location\": \"https://example.com/v2/Users/2819c223...\",\n \"version\": \"W\\/\\\"f250dd84f0671c3\\\"\"\n }\n }\n validate(\n data=content,\n extension_schema_definitions=extension.schema\n )\n\n >>> E _scimschema._model.scim_exceptions.AggregatedScimMultValueAttributeValidationExceptions: Found 1 aggregated exceptions at Scim response:\n >>> E ScimAttributeValueNotFoundException:\n >>> E \t 'Single-value attribute:ipRestrictionsEnabled' is required at the following location '['urn:huddle:params:scim:schemas:extension:2.0:Account', 'ipRestrictionsEnabled']' but found '{}'\n >>> !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!\n\n\nFeatures\n--------\n\nSupport for `SCIM 2.0 `_,\n - Validate SCIM Schema definition\n - Validate Model (schema) Id, Name, description, attributes\n - Validate Attribute (schema) Name, Type, Required, Canonical Values, Mutability, Returned, Uniqueness\n\n - Validate JSON Content against SCIM Schema\n - Validate significant value against Type (Binary, Boolean, Datetime, Decimal, Integer, Reference, String, Complex, MultiValued)\n - Characteristics Required, Canonical Values, Uniqueness\n\n\nUpcoming features\n-----------------\n\n - Validate JSON Content for characteristics below:\n - Mutability, Returned\n\n\n\nRunning the Test Suite\n----------------------\n\nThe project requires `pytest` to discover tests, and it integrates with `travis `_ to run on commit.\nIf you use a Windows machine, there are helpful commands in the `go.bat `_ to get you started...\n\n\nContributing\n------------\n\nThis project is powered by the QA department at `Huddle `_\n\nThe source code is available on `GitHub `_.\n\nGet in touch, via GitHub or otherwise, contributors are also welcome!",
"description_content_type": "text/x-rst",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/GordonSo/pyscim",
"keywords": "",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "scimschema",
"package_url": "https://pypi.org/project/scimschema/",
"platform": "",
"project_url": "https://pypi.org/project/scimschema/",
"project_urls": {
"Homepage": "https://github.com/GordonSo/pyscim"
},
"release_url": "https://pypi.org/project/scimschema/0.1.1/",
"requires_dist": null,
"requires_python": "",
"summary": "A validator for System for Cross-domain Identity Management (SCIM) responses given predefine schemas",
"version": "0.1.1"
},
"last_serial": 5567226,
"releases": {
"0.0.13": [
{
"comment_text": "",
"digests": {
"md5": "ee68deb0c38624fe7724d954baf3e6e6",
"sha256": "cf5adf37698a431d3bcae94f07081d57bf5765716f11ac08c4238a895e4da9fa"
},
"downloads": -1,
"filename": "scimschema-0.0.13.tar.gz",
"has_sig": false,
"md5_digest": "ee68deb0c38624fe7724d954baf3e6e6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 21360,
"upload_time": "2018-06-27T17:53:36",
"url": "https://files.pythonhosted.org/packages/ef/fd/c78268de09bc044c4ceb507704063457883c51576aabc8b23daeda894fc4/scimschema-0.0.13.tar.gz"
}
],
"0.0.14": [
{
"comment_text": "",
"digests": {
"md5": "f3cfc724d4b1954709776e8aa6eee87d",
"sha256": "bc06c401d65ab5dac0c1ac1301bcdab916d810eb1b7beb514baa9c95de8f46d6"
},
"downloads": -1,
"filename": "scimschema-0.0.14.tar.gz",
"has_sig": false,
"md5_digest": "f3cfc724d4b1954709776e8aa6eee87d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 21375,
"upload_time": "2018-06-27T17:58:28",
"url": "https://files.pythonhosted.org/packages/86/fc/cfe96d363af926c4d3a67433c37e056d30c713b511f71c91d1ca909a662f/scimschema-0.0.14.tar.gz"
}
],
"0.0.15": [
{
"comment_text": "",
"digests": {
"md5": "34b9a1ab6c71d6f3a15d19ec4d5871b6",
"sha256": "035aeecd7aa18485fabbbdca2efc0b70297f2ad7eb1d58e19b02df76ce43f393"
},
"downloads": -1,
"filename": "scimschema-0.0.15.tar.gz",
"has_sig": false,
"md5_digest": "34b9a1ab6c71d6f3a15d19ec4d5871b6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11084,
"upload_time": "2018-07-26T16:25:31",
"url": "https://files.pythonhosted.org/packages/ca/37/13aa62048c5b66f861e2f57613f165d0e3ade7eeed6a1d9eabb854efeae9/scimschema-0.0.15.tar.gz"
}
],
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "f6cb0eb0a43381f6923940553c5cd266",
"sha256": "5e51dc1640c5f1e04bf8f032c691a80485864bf587492e5774af49162f97f3c6"
},
"downloads": -1,
"filename": "scimschema-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "f6cb0eb0a43381f6923940553c5cd266",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11087,
"upload_time": "2018-07-26T16:33:29",
"url": "https://files.pythonhosted.org/packages/4e/91/39d3185ea7a596f4e56c83e6ff7e1fdda52a7aa416454b6b3278ba675549/scimschema-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "4570d37d17dd28ebe52fecebf8a23358",
"sha256": "bd85cf7e2f8162641dcfddf8116cca720e92fb7a732fb2dcbc4302cc17911add"
},
"downloads": -1,
"filename": "scimschema-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "4570d37d17dd28ebe52fecebf8a23358",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15196,
"upload_time": "2019-07-22T12:43:36",
"url": "https://files.pythonhosted.org/packages/69/02/c514905d3c34357a77b42494d6eb7aa596931aeeaf7ed72412df9663defd/scimschema-0.1.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "4570d37d17dd28ebe52fecebf8a23358",
"sha256": "bd85cf7e2f8162641dcfddf8116cca720e92fb7a732fb2dcbc4302cc17911add"
},
"downloads": -1,
"filename": "scimschema-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "4570d37d17dd28ebe52fecebf8a23358",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15196,
"upload_time": "2019-07-22T12:43:36",
"url": "https://files.pythonhosted.org/packages/69/02/c514905d3c34357a77b42494d6eb7aa596931aeeaf7ed72412df9663defd/scimschema-0.1.1.tar.gz"
}
]
}