<commit_before>from .common import extras, fuzzy_date_blank
from opencivicdata import common


schema = {
    "type": "object",
    "properties": {
        "name": {"type": "string"},
        "url": {"type": "string"},
        "classification": {"type": "string"},   # TODO: enum
        "division_id": {"type": "string"},
        "legislative_sessions": {
            "type": "array", "items": {"type": "object", "properties": {
                "name": {"type": "string"},
                "name": {"type": "string"},
                "type": {"classification": "string", "enum": ["primary", "special"]},
                "start_date": fuzzy_date_blank,
                "end_date": fuzzy_date_blank,
            }},
        },
        "feature_flags": { "type": "array", "items": {"type": "string"} },
        "extras": extras,
    }
}<commit_msg>Remove duplicate property in jurisdiction schema<commit_after>from .common import extras, fuzzy_date_blank
from opencivicdata import common


schema = {
    "type": "object",
    "properties": {
        "name": {"type": "string"},
        "url": {"type": "string"},
        "classification": {"type": "string"},   # TODO: enum
        "division_id": {"type": "string"},
        "legislative_sessions": {
            "type": "array", "items": {"type": "object", "properties": {
                "name": {"type": "string"},
                "type": {"classification": "string", "enum": ["primary", "special"]},
                "start_date": fuzzy_date_blank,
                "end_date": fuzzy_date_blank,
            }},
        },
        "feature_flags": { "type": "array", "items": {"type": "string"} },
        "extras": extras,
    }
}
{'fraction_non_alphanumeric': 0.1980963712076145, 'fraction_numerical': 0.0, 'mean_word_length': 2.397979797979798, 'pattern_counts': {'":': 56, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4494683', 'n_tokens_mistral': 515, 'n_tokens_neox': 477, 'n_words': 118}